home *** CD-ROM | disk | FTP | other *** search
/ Pokemon Promotional Discs / ANA_POKEMON_01.ISO / 1 / scripts / DefineSprite_127 / frame_1 / PlaceObject2_103_1 / CLIPACTIONRECORD onClipEvent(enterFrame).as
Text File  |  2004-01-04  |  900b  |  32 lines

  1. onClipEvent(enterFrame){
  2.    scNum = _parent._parent.flag.scrollnum;
  3.    psNum = _parent._parent.flag_pause.pausenum;
  4.    if(psNum == 1)
  5.    {
  6.       if(scNum == 1)
  7.       {
  8.          if(Key.isDown(39) || _parent._parent._parent._parent._parent.keyCheck.keyTouch1 == 1 || _parent._parent._parent._parent._parent.msTrace.mouseTrace == 2)
  9.          {
  10.             this.gotoAndPlay(29);
  11.          }
  12.          else if(Key.isDown(37) || _parent._parent._parent._parent._parent.keyCheck.keyTouch3 == 1 || _parent._parent._parent._parent._parent.msTrace.mouseTrace == 1)
  13.          {
  14.             this.gotoAndPlay(14);
  15.          }
  16.          else
  17.          {
  18.             this.gotoAndPlay(1);
  19.          }
  20.       }
  21.       else if(scNum == 0)
  22.       {
  23.          trace("stop from bilili");
  24.          this.gotoAndPlay(31);
  25.       }
  26.    }
  27.    else if(psNum == 0)
  28.    {
  29.       trace("pause from bilili");
  30.    }
  31. }
  32.